package cn.tedu.blog.server.exception;

/**
 * @author 雷茂林
 * @description: 业务异常声明
 * @date
 */
public class ServiceException extends RuntimeException {

    private Integer serviceCode;

    public ServiceException(Integer serviceCode, String message) {
        super(message);
        this.serviceCode = serviceCode;
    }

    public Integer getServiceCode() {
        return serviceCode;
    }

}
